iphoneActivityIndicatorStart
Type
command
Summary
Displays an animated activity indicator on the screen
Syntax
iphoneActivityIndicatorStart [<type>] [, <xposition>, <yposition>]
Description
The activity indicator displays an animated indicator on the screen.
Use the iphoneActivityIndicatorStart command to display a native iOS activity indicator on the top of the LiveCode stack that is running.
The iphoneActivityIndicatorStart command allows you to select from three types of animation and position the animation at a defined location on the screen. If a location is not specified, then the animation is positioned in the middle of the screen. You can turn the activity indicator off by calling iphoneActivityIndicatorStop.
While this busy indicator is displayed, user input continues to be accepted. This is different to the behavior from the indicator displayed by mobileBusyIndicatorStart.
Parameters
Name | Type | Description |
---|---|---|
type | enum | Specifies the type of animation that is to be displayed. The default is "white". |
xposition | Specifies the horizontal position on the screen at which the animation should be displayed. | |
yposition | Specifies the vertical position on the screen at which the animation should be displayed. |
Examples
iphoneActivityIndicatorStart
iphoneActivityIndicatorStart "gray"
iphoneActivityIndicatorStart "whiteLarge", 100, 100
Related
command: iphoneActivityIndicatorStop, mobileBusyIndicatorStart
Compatibility and Support
Introduced
LiveCode 5.0.1
OS
ios
Platforms
mobile